<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
    function getSum(){
        var arr=[1,3,2,5,6,4,7]

    var brr= arr.filter(function(ele,i,array){
        return ele>=3
    })
    console.log(arr);
    
    }
    getSum()
    getSum()
    var ff=function(){
        var arr=['w','e',"f",'g',"k",'h','u','j','n','a']

    var brr= arr.filter(function(ele,i,array){
        return ele>=3
    })
    console.log(arr);
    }
    ff()
    ff()
</script>